package com.woniuxy.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @author: zhouhongcheng
 * Date: 2022/1/21:12:01
 * Description:
 */
public interface UserDao {
    List<Map<String,String>> findAll();
//    @Insert("insert into teacher(id) values(#{id})")
//    void insert(Map<String ,String> user);
    @Select("select * from teacher")
    List<Map<String,String>> findAll2();
}
